$wid: 800px;
$hgt: 100px;
$list: none;
$a: none;
$bgColor: white;
$float: left;
html,
body {
  $wid: 100%;
  width: $wid;
  position: relative;
}
* {
  margin: 0;
  padding: 0;
}
nav {
  $wid: 100%;
  $hgt: 80px;
  width: $wid;
  height: $hgt;
  background-color: $bgColor;
  position: fixed;
  left: 0;
  top: 0;
  ul {
    $wid: 500px;
    $float: right;
    width: $wid;
    display: flex;
    float: $float;
    list-style: $list;
    justify-content: space-around;
    line-height: 80px;
    margin-right: 100px;
    font-size: 20px;
  }
  a {
    text-decoration: $a;
    color: grey;
  }
  img {
    float: $float;
    margin: 30px 0 0 100px;
  }
}
section {
  $wid: 100%;
  $hgt: 500px;
  height: $hgt;
  width: $wid;
  background-image: url(https://uat-brand.heytap.com/content/dam/heytap-brand/assets/png/daniel-chen-ypZIfpMpyIs-unsplash.jpg);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}
main {
  width: $wid;
  height: 400px;
  margin: auto;
  h2 {
    height: $hgt;
    background-color: $bgColor;
    text-align: center;
    padding-top: 100px;
    font-size: 30px;
  }
  h2::after {
    content: "";
    $wid: 50px;
    $hgt: 8px;
    $bgColor: rgb(86, 208, 133);
    width: $wid;
    height: $hgt;
    display: block;
    background-color: $bgColor;
    margin-left: 48%;
    margin-top: 10px;
  }
  p {
    font-size: 20px;
    text-align: center;
    font-weight: bolder;
    line-height: 30px;
  }
  div {
    $wid: 700px;
    width: $wid;
    margin: auto;
    color: rgb(102, 102, 102);
    text-align: center;
    line-height: 30px;
    margin-top: 30px;
    font-weight: bolder;
  }
}
.jiaozhu {
  width: 100%;
  height: 300px;
  background-color: rgb(248, 249, 252);
  position: relative;
  box-sizing: border-box;
  footer {
    width: 1200px;
    margin: auto;
    padding-top: 50px;
    font-weight: bolder;
    
    .left {
      width: 400px;
      height: 200px;
      float: left;
      display: flex;
      flex-direction: column;
      line-height: 40px;
    }
    .right {
      float: left;
      display: flex;
      flex-direction: column;
      width: 400px;
      height: 200px;
      line-height: 40px;
    }
    p {
      font-size: 20px;
    }
    a {
      font-size: 18px;
      text-decoration: none;
      color: gray;
    }
    a:hover {
      color: rgb(86, 208, 133);
    }
    span {
      color: #cecece;
      position: absolute;
      left: 0;
      bottom: 50px;
    }
  }
}
